package com.isky.visual.proj.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @author wenjs
 */
@Data
@ApiModel(value="PanelGroupMoveParam", description="仪表盘分组")
public class PanelGroupMoveParam {
    @NotNull
    @ApiModelProperty(value = "移动后仪表盘组上级id")
    private Long ParentId;

    @ApiModelProperty(value = "需要移动的仪表盘组id")
    private Long[] groupIds;

    @NotNull
    @ApiModelProperty(value = "仪表盘组类型 1 个人公共 2 个人",notes="这个字段必须要传，如果parentId未传值，默认使用组类型对于的根节点组")
    @Size(min = 1,max = 2)
    private Integer groupType;
}
